package com.zch.market.service;

import java.util.List;

import com.zch.market.entity.Provider;

public interface ProviderService {
	public List<Provider> getProviderByPage(String name,String desc,int pageIndex);
	public int getTotalPage(String name,String desc);
	public Provider getProviderById(int id);
	public boolean addProvider(Provider provider);
	public boolean deleteProvider(int id);
	public boolean updateProvider(Provider provider);
	int getTotalCount(String name, String desc);
}
